# Tanım: Deepin sesleri
# URL: https://github.com/linuxdeepin/qt5dxcb-plugin
# Paketçi: Cihan_Alkan 
# Gerekler: qt5-base cairo qt5-x11extras
# Grup: deepin

isim=deepin-qt5dxcb-plugin
surum=1.1.8.8
devir=1
kaynak=(https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  cd qt5dxcb-plugin-$surum
  rm -r platformplugin/libqt5xcbqpa-dev
  sed -i 's|error(Qt Versiyon Desteklenmiyor: .*)|INCLUDEPATH += /usr/include/qtxcb-private|' platformplugin/linux.pri

  /usr/bin/qmake-qt5 PREFIX=/usr
  make
  make INSTALL_ROOT="$PKG" install
}
